import { render } from '@testing-library/react';
import HomePage from '../../pages/HomePage';

test('渲染侧边栏', () => {
  render(<HomePage />);
  expect(screen.getByText(/首页/i)).toBeInTheDocument();
});